/**
 * Title:       InterpreterDescriptor.java
 * Copyright:   Copyright (c) 1996-2004 The Agent Factory Working Group. All rights reserved.
 * Licence:     This file is free software; you can redistribute it and/or modify
 *              it under the terms of the GNU Lesser General Public License as published by
 *              the Free Software Foundation; either version 2.1, or (at your option)
 *              any later version.
 *
 *              This file is distributed in the hope that it will be useful,
 *              but WITHOUT ANY WARRANTY; without even the implied warranty of
 *              MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *              GNU Lesser General Public License for more details.
 *
 *              You should have received a copy of the GNU Lesser General Public License
 *              along with Agent Factory; see the file COPYING.  If not, write to
 *              the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 *              Boston, MA 02111-1307, USA.
 */

package com.agentfactory.platform.core;

import java.util.Vector;

/**
 * A simple container class for interpreter descriptors read from an 
 * platform configuration file.
 * 
 * @author Robert Ross
 */
public class InterpreterDescriptor {

	/**
	 * The agent interpreter's class. 
     */
	private String interpreterClass = null;
	
	/**
	 * The associated agent type. 
	 */
	private String associatedType = null;
	
	/**
	 * Any parameters to be supplied when instantiating the interpreter. 
	 */
	private Vector arguements = null; 
	
	/**
	 * Construct an interpreter descriptor. 
	 * 
	 * @param inClass - The class of agent interpreter to be instantiated. 
	 * @param inType - The type of agent design the interpreter is to be associated with
	 * @param inArgs - Any arguements to be passed to the interpreter on instantiation.
	 */
	public InterpreterDescriptor(String inClass, String inType, Vector inArgs){
		this.interpreterClass = inClass;
		this.associatedType = inType;
		this.arguements = inArgs;
	}
			
	/**
	 * @return Returns the arguements.
	 */
	public Vector getArguements() {
		return arguements;
	}
	
	/**
	 * @return Returns the associatedType.
	 */
	public String getAssociatedType() {
		return associatedType;
	}
	
	/**
	 * @return Returns the interpreterClass.
	 */
	public String getInterpreterClass() {
		return interpreterClass;
	}
}
